package com.bayss.web.model.goods;


import com.bayss.web.mock.annotation.DataValue;
import com.bayss.web.mock.enums.MockDataType;
import com.bayss.web.model.SpuTagModel;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xin on 2016/12/19.
 */
public class SkuModel implements Serializable {

    @DataValue("1")
    private Integer skuId;
    @DataValue("商品简介")
    private String name;
    @DataValue("1000")
    private Integer price;
    @DataValue("10.00")
    private String priceStr;
    @DataValue("20000")
    private Integer marketPrice;
    @DataValue("200.00")
    private String marketPriceStr;
    @DataValue("http://i0.hdslb.com/u_user/d3644d08b4ea8e152540e4ffec58f244.jpg")
    private String imgUrl;
    @DataValue("商品简介")
    private String brief;
    @DataValue("1")
    private Integer maxId;
    @DataValue(type = MockDataType.LIST, length = 3)
    private List<SpuTagModel> tags;
    @DataValue("1")
    private Integer saleNum;
    @DataValue("1")
    private Integer storeNum;

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getPriceStr() {
        return priceStr;
    }

    public void setPriceStr(String priceStr) {
        this.priceStr = priceStr;
    }

    public Integer getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(Integer marketPrice) {
        this.marketPrice = marketPrice;
    }

    public String getMarketPriceStr() {
        return marketPriceStr;
    }

    public void setMarketPriceStr(String marketPriceStr) {
        this.marketPriceStr = marketPriceStr;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public Integer getMaxId() {
        return maxId;
    }

    public void setMaxId(Integer maxId) {
        this.maxId = maxId;
    }

    public List<SpuTagModel> getTags() {
        return tags;
    }

    public void setTags(List<SpuTagModel> tags) {
        this.tags = tags;
    }

    public Integer getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(Integer saleNum) {
        this.saleNum = saleNum;
    }

    public Integer getStoreNum() {
        return storeNum;
    }

    public void setStoreNum(Integer storeNum) {
        this.storeNum = storeNum;
    }

}
